package org.travel.dal.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.forbes.comm.entity.BaseEntity;

/**
 * Table: f_sys_role_permission
 */
@Data
@ApiModel(description="角色-权限")
@TableName("f_sys_role_permission")
public class SysRolePermisson extends BaseEntity {
    /**
     * 角色ID
     *
     * Table:     f_sys_role_permission
     * Column:    role_id
     * Nullable:  true
     */
    @ApiModelProperty(value = "角色ID",example="0")
    private Long roleId;

    /**
     * 权限ID
     *
     * Table:     f_sys_role_permission
     * Column:    permission_id
     * Nullable:  true
     */
    @ApiModelProperty(value = "权限ID",example="0")
    private Long permissionId;
}